<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Qwt User&#39;s Guide: QwtPlotPanner Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Qwt User&#39;s Guide
   &#160;<span id="projectnumber">6.2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('class_qwt_plot_panner.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-slots">Public Slots</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="class_qwt_plot_panner-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">QwtPlotPanner Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="class_qwt_plot_panner.html" title="QwtPlotPanner provides panning of a plot canvas.">QwtPlotPanner</a> provides panning of a plot canvas.  
 <a href="class_qwt_plot_panner.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="qwt__plot__panner_8h_source.html">qwt_plot_panner.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for QwtPlotPanner:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="class_qwt_plot_panner__inherit__graph.svg" width="122" height="187"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-slots"></a>
Public Slots</h2></td></tr>
<tr class="memitem:aab045140de3e38d316593388da9231bd"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_panner.html#aab045140de3e38d316593388da9231bd">moveCanvas</a> (int dx, int dy)</td></tr>
<tr class="separator:aab045140de3e38d316593388da9231bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a94d661c312edbf7ef094dd32dff57d44"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_panner.html#a94d661c312edbf7ef094dd32dff57d44">QwtPlotPanner</a> (QWidget *)</td></tr>
<tr class="memdesc:a94d661c312edbf7ef094dd32dff57d44"><td class="mdescLeft">&#160;</td><td class="mdescRight">A panner for the canvas of a <a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget.">QwtPlot</a>.  <a href="class_qwt_plot_panner.html#a94d661c312edbf7ef094dd32dff57d44">More...</a><br /></td></tr>
<tr class="separator:a94d661c312edbf7ef094dd32dff57d44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa72bb8323d5a8eb46900f978bf1e3623"><td class="memItemLeft" align="right" valign="top"><a id="aa72bb8323d5a8eb46900f978bf1e3623"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_panner.html#aa72bb8323d5a8eb46900f978bf1e3623">~QwtPlotPanner</a> ()</td></tr>
<tr class="memdesc:aa72bb8323d5a8eb46900f978bf1e3623"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:aa72bb8323d5a8eb46900f978bf1e3623"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a372898a83f51e2b85aadb92f893d6235"><td class="memItemLeft" align="right" valign="top"><a id="a372898a83f51e2b85aadb92f893d6235"></a>
QWidget *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_panner.html#a372898a83f51e2b85aadb92f893d6235">canvas</a> ()</td></tr>
<tr class="memdesc:a372898a83f51e2b85aadb92f893d6235"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return observed plot canvas. <br /></td></tr>
<tr class="separator:a372898a83f51e2b85aadb92f893d6235"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed831ea120a8777569b5cbbd922728f4"><td class="memItemLeft" align="right" valign="top"><a id="aed831ea120a8777569b5cbbd922728f4"></a>
const QWidget *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_panner.html#aed831ea120a8777569b5cbbd922728f4">canvas</a> () const</td></tr>
<tr class="memdesc:aed831ea120a8777569b5cbbd922728f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return Observed plot canvas. <br /></td></tr>
<tr class="separator:aed831ea120a8777569b5cbbd922728f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae52375921bfacc3e17d3db45858b1485"><td class="memItemLeft" align="right" valign="top"><a id="ae52375921bfacc3e17d3db45858b1485"></a>
<a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_panner.html#ae52375921bfacc3e17d3db45858b1485">plot</a> ()</td></tr>
<tr class="memdesc:ae52375921bfacc3e17d3db45858b1485"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return plot widget, containing the observed plot canvas. <br /></td></tr>
<tr class="separator:ae52375921bfacc3e17d3db45858b1485"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ecdd6a27002d13b4967eadabaa17674"><td class="memItemLeft" align="right" valign="top"><a id="a5ecdd6a27002d13b4967eadabaa17674"></a>
const <a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_panner.html#a5ecdd6a27002d13b4967eadabaa17674">plot</a> () const</td></tr>
<tr class="memdesc:a5ecdd6a27002d13b4967eadabaa17674"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return plot widget, containing the observed plot canvas. <br /></td></tr>
<tr class="separator:a5ecdd6a27002d13b4967eadabaa17674"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa44370137295f3e21e4dc55a60c0ca37"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_panner.html#aa44370137295f3e21e4dc55a60c0ca37">setAxisEnabled</a> (QwtAxisId axisId, bool on)</td></tr>
<tr class="memdesc:aa44370137295f3e21e4dc55a60c0ca37"><td class="mdescLeft">&#160;</td><td class="mdescRight">En/Disable an axis.  <a href="class_qwt_plot_panner.html#aa44370137295f3e21e4dc55a60c0ca37">More...</a><br /></td></tr>
<tr class="separator:aa44370137295f3e21e4dc55a60c0ca37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6906099ac3a3053a1af6044ddbf7ba1"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_panner.html#ab6906099ac3a3053a1af6044ddbf7ba1">isAxisEnabled</a> (QwtAxisId) const</td></tr>
<tr class="separator:ab6906099ac3a3053a1af6044ddbf7ba1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_qwt_panner"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_qwt_panner')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_qwt_panner.html">QwtPanner</a></td></tr>
<tr class="memitem:af5482be26d69a64c3880653265240736 inherit pub_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#af5482be26d69a64c3880653265240736">QwtPanner</a> (QWidget *parent)</td></tr>
<tr class="separator:af5482be26d69a64c3880653265240736 inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19c9b9a08da05649f6d2ef5bf6fb391c inherit pub_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top"><a id="a19c9b9a08da05649f6d2ef5bf6fb391c"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a19c9b9a08da05649f6d2ef5bf6fb391c">~QwtPanner</a> ()</td></tr>
<tr class="memdesc:a19c9b9a08da05649f6d2ef5bf6fb391c inherit pub_methods_class_qwt_panner"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:a19c9b9a08da05649f6d2ef5bf6fb391c inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43e06c262c945fc7faeb729539bbde58 inherit pub_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a43e06c262c945fc7faeb729539bbde58">setEnabled</a> (bool)</td></tr>
<tr class="memdesc:a43e06c262c945fc7faeb729539bbde58 inherit pub_methods_class_qwt_panner"><td class="mdescLeft">&#160;</td><td class="mdescRight">En/disable the panner.  <a href="class_qwt_panner.html#a43e06c262c945fc7faeb729539bbde58">More...</a><br /></td></tr>
<tr class="separator:a43e06c262c945fc7faeb729539bbde58 inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19439f534fc9fa254693948eb4f4bb5f inherit pub_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a19439f534fc9fa254693948eb4f4bb5f">isEnabled</a> () const</td></tr>
<tr class="separator:a19439f534fc9fa254693948eb4f4bb5f inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f138454b2c1d7e814ae1975d6a7b8be inherit pub_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a6f138454b2c1d7e814ae1975d6a7b8be">setMouseButton</a> (Qt::MouseButton, Qt::KeyboardModifiers=Qt::NoModifier)</td></tr>
<tr class="separator:a6f138454b2c1d7e814ae1975d6a7b8be inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a74f8e2f4d424f85fa5a9da11c075d2 inherit pub_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top"><a id="a8a74f8e2f4d424f85fa5a9da11c075d2"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a8a74f8e2f4d424f85fa5a9da11c075d2">getMouseButton</a> (Qt::MouseButton &amp;button, Qt::KeyboardModifiers &amp;) const</td></tr>
<tr class="memdesc:a8a74f8e2f4d424f85fa5a9da11c075d2 inherit pub_methods_class_qwt_panner"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get mouse button and modifiers used for panning. <br /></td></tr>
<tr class="separator:a8a74f8e2f4d424f85fa5a9da11c075d2 inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acbb1b9e30214354708e1d75db6b78289 inherit pub_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#acbb1b9e30214354708e1d75db6b78289">setAbortKey</a> (int key, Qt::KeyboardModifiers=Qt::NoModifier)</td></tr>
<tr class="separator:acbb1b9e30214354708e1d75db6b78289 inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abdfca52ea5a6a11a533dcbbbddbb3bf6 inherit pub_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top"><a id="abdfca52ea5a6a11a533dcbbbddbb3bf6"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#abdfca52ea5a6a11a533dcbbbddbb3bf6">getAbortKey</a> (int &amp;key, Qt::KeyboardModifiers &amp;) const</td></tr>
<tr class="memdesc:abdfca52ea5a6a11a533dcbbbddbb3bf6 inherit pub_methods_class_qwt_panner"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the abort key and modifiers. <br /></td></tr>
<tr class="separator:abdfca52ea5a6a11a533dcbbbddbb3bf6 inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8b0625fe155fff0132df85727f54a3e inherit pub_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#ac8b0625fe155fff0132df85727f54a3e">setCursor</a> (const QCursor &amp;)</td></tr>
<tr class="separator:ac8b0625fe155fff0132df85727f54a3e inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ebb1cc406fa3d30df0e7dd7a541667d inherit pub_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top">const QCursor&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a1ebb1cc406fa3d30df0e7dd7a541667d">cursor</a> () const</td></tr>
<tr class="separator:a1ebb1cc406fa3d30df0e7dd7a541667d inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa71a8b6f7f46ae8f5a8084094d7bd9a inherit pub_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#aaa71a8b6f7f46ae8f5a8084094d7bd9a">setOrientations</a> (Qt::Orientations)</td></tr>
<tr class="separator:aaa71a8b6f7f46ae8f5a8084094d7bd9a inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0df413d3d5a6bc4f002e87f3b269214e inherit pub_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top"><a id="a0df413d3d5a6bc4f002e87f3b269214e"></a>
Qt::Orientations&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a0df413d3d5a6bc4f002e87f3b269214e">orientations</a> () const</td></tr>
<tr class="memdesc:a0df413d3d5a6bc4f002e87f3b269214e inherit pub_methods_class_qwt_panner"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the orientation, where panning is enabled. <br /></td></tr>
<tr class="separator:a0df413d3d5a6bc4f002e87f3b269214e inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa69c32aae501021f01cb7c833172986c inherit pub_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#aa69c32aae501021f01cb7c833172986c">isOrientationEnabled</a> (Qt::Orientation) const</td></tr>
<tr class="separator:aa69c32aae501021f01cb7c833172986c inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2217903b61d8d6a9e9cf20b70d601389 inherit pub_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a2217903b61d8d6a9e9cf20b70d601389">eventFilter</a> (QObject *, QEvent *) override</td></tr>
<tr class="memdesc:a2217903b61d8d6a9e9cf20b70d601389 inherit pub_methods_class_qwt_panner"><td class="mdescLeft">&#160;</td><td class="mdescRight">Event filter.  <a href="class_qwt_panner.html#a2217903b61d8d6a9e9cf20b70d601389">More...</a><br /></td></tr>
<tr class="separator:a2217903b61d8d6a9e9cf20b70d601389 inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a6600f84dcdb8b302f7f8bd9c37750506"><td class="memItemLeft" align="right" valign="top">virtual QBitmap&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_panner.html#a6600f84dcdb8b302f7f8bd9c37750506">contentsMask</a> () const override</td></tr>
<tr class="separator:a6600f84dcdb8b302f7f8bd9c37750506"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1f18149c928d0004bf3c072d55782a1"><td class="memItemLeft" align="right" valign="top">virtual QPixmap&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_panner.html#af1f18149c928d0004bf3c072d55782a1">grab</a> () const override</td></tr>
<tr class="separator:af1f18149c928d0004bf3c072d55782a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_qwt_panner"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_qwt_panner')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_qwt_panner.html">QwtPanner</a></td></tr>
<tr class="memitem:ae002958978dcc751f9edda24e5858dd9 inherit pro_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#ae002958978dcc751f9edda24e5858dd9">widgetMousePressEvent</a> (QMouseEvent *)</td></tr>
<tr class="separator:ae002958978dcc751f9edda24e5858dd9 inherit pro_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2da1e24b1456b223eaa826d8e0a3a81 inherit pro_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#ab2da1e24b1456b223eaa826d8e0a3a81">widgetMouseReleaseEvent</a> (QMouseEvent *)</td></tr>
<tr class="separator:ab2da1e24b1456b223eaa826d8e0a3a81 inherit pro_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6545bc6e25018253c59fc27a48eb948f inherit pro_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a6545bc6e25018253c59fc27a48eb948f">widgetMouseMoveEvent</a> (QMouseEvent *)</td></tr>
<tr class="separator:a6545bc6e25018253c59fc27a48eb948f inherit pro_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ed4e89f6c52b841e20ad497af4b4ebc inherit pro_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a7ed4e89f6c52b841e20ad497af4b4ebc">widgetKeyPressEvent</a> (QKeyEvent *)</td></tr>
<tr class="separator:a7ed4e89f6c52b841e20ad497af4b4ebc inherit pro_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8bd447df4a30299bbc8e6b6d3e2e2f9f inherit pro_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a8bd447df4a30299bbc8e6b6d3e2e2f9f">widgetKeyReleaseEvent</a> (QKeyEvent *)</td></tr>
<tr class="separator:a8bd447df4a30299bbc8e6b6d3e2e2f9f inherit pro_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8f9335a02c8c10f66149901ed281018 inherit pro_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#aa8f9335a02c8c10f66149901ed281018">paintEvent</a> (QPaintEvent *) override</td></tr>
<tr class="memdesc:aa8f9335a02c8c10f66149901ed281018 inherit pro_methods_class_qwt_panner"><td class="mdescLeft">&#160;</td><td class="mdescRight">Paint event.  <a href="class_qwt_panner.html#aa8f9335a02c8c10f66149901ed281018">More...</a><br /></td></tr>
<tr class="separator:aa8f9335a02c8c10f66149901ed281018 inherit pro_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header signals_class_qwt_panner"><td colspan="2" onclick="javascript:toggleInherit('signals_class_qwt_panner')"><img src="closed.png" alt="-"/>&#160;Signals inherited from <a class="el" href="class_qwt_panner.html">QwtPanner</a></td></tr>
<tr class="memitem:ae9ce78e6f9ae73317af29b2dc5df7372 inherit signals_class_qwt_panner"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#ae9ce78e6f9ae73317af29b2dc5df7372">panned</a> (int dx, int dy)</td></tr>
<tr class="separator:ae9ce78e6f9ae73317af29b2dc5df7372 inherit signals_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa45ae2f4d6d20a83783898dd86d0b595 inherit signals_class_qwt_panner"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#aa45ae2f4d6d20a83783898dd86d0b595">moved</a> (int dx, int dy)</td></tr>
<tr class="separator:aa45ae2f4d6d20a83783898dd86d0b595 inherit signals_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="class_qwt_plot_panner.html" title="QwtPlotPanner provides panning of a plot canvas.">QwtPlotPanner</a> provides panning of a plot canvas. </p>
<p><a class="el" href="class_qwt_plot_panner.html" title="QwtPlotPanner provides panning of a plot canvas.">QwtPlotPanner</a> is a panner for a plot canvas, that adjusts the scales of the axes after dropping the canvas on its new position.</p>
<p>Together with <a class="el" href="class_qwt_plot_zoomer.html" title="QwtPlotZoomer provides stacked zooming for a plot widget.">QwtPlotZoomer</a> and <a class="el" href="class_qwt_plot_magnifier.html" title="QwtPlotMagnifier provides zooming, by magnifying in steps.">QwtPlotMagnifier</a> powerful ways of navigating on a <a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget.">QwtPlot</a> widget can be implemented easily.</p>
<dl class="section note"><dt>Note</dt><dd>The axes are not updated, while dragging the canvas </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_zoomer.html" title="QwtPlotZoomer provides stacked zooming for a plot widget.">QwtPlotZoomer</a>, <a class="el" href="class_qwt_plot_magnifier.html" title="QwtPlotMagnifier provides zooming, by magnifying in steps.">QwtPlotMagnifier</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="qwt__plot__panner_8h_source.html#l00032">32</a> of file <a class="el" href="qwt__plot__panner_8h_source.html">qwt_plot_panner.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a94d661c312edbf7ef094dd32dff57d44"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a94d661c312edbf7ef094dd32dff57d44">&#9670;&nbsp;</a></span>QwtPlotPanner()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QwtPlotPanner::QwtPlotPanner </td>
          <td>(</td>
          <td class="paramtype">QWidget *&#160;</td>
          <td class="paramname"><em>canvas</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>A panner for the canvas of a <a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget.">QwtPlot</a>. </p>
<p>The panner is enabled for all axes</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">canvas</td><td>Plot canvas to pan, also the parent object</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_panner.html#aa44370137295f3e21e4dc55a60c0ca37" title="En/Disable an axis.">setAxisEnabled()</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="qwt__plot__panner_8cpp_source.html#l00128">128</a> of file <a class="el" href="qwt__plot__panner_8cpp_source.html">qwt_plot_panner.cpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a6600f84dcdb8b302f7f8bd9c37750506"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6600f84dcdb8b302f7f8bd9c37750506">&#9670;&nbsp;</a></span>contentsMask()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QBitmap QwtPlotPanner::contentsMask </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Calculate a mask from the border path of the canvas</p>
<dl class="section return"><dt>Returns</dt><dd>Mask as bitmap </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_canvas.html#af21afcc5f858ab70afb589b32c856ca1">QwtPlotCanvas::borderPath()</a> </dd></dl>

<p>Reimplemented from <a class="el" href="class_qwt_panner.html#aac1d7537025f41d2d0dfc261c56dac8e">QwtPanner</a>.</p>

<p class="definition">Definition at line <a class="el" href="qwt__plot__panner_8cpp_source.html#l00267">267</a> of file <a class="el" href="qwt__plot__panner_8cpp_source.html">qwt_plot_panner.cpp</a>.</p>

</div>
</div>
<a id="af1f18149c928d0004bf3c072d55782a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af1f18149c928d0004bf3c072d55782a1">&#9670;&nbsp;</a></span>grab()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QPixmap QwtPlotPanner::grab </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>Pixmap with the content of the canvas </dd></dl>

<p>Reimplemented from <a class="el" href="class_qwt_panner.html#ac5ac83293f33b7b71ae9f49217d53fec">QwtPanner</a>.</p>

<p class="definition">Definition at line <a class="el" href="qwt__plot__panner_8cpp_source.html#l00278">278</a> of file <a class="el" href="qwt__plot__panner_8cpp_source.html">qwt_plot_panner.cpp</a>.</p>

</div>
</div>
<a id="ab6906099ac3a3053a1af6044ddbf7ba1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab6906099ac3a3053a1af6044ddbf7ba1">&#9670;&nbsp;</a></span>isAxisEnabled()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QwtPlotPanner::isAxisEnabled </td>
          <td>(</td>
          <td class="paramtype">QwtAxisId&#160;</td>
          <td class="paramname"><em>axisId</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Test if an axis is enabled</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">axisId</td><td>Axis </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True, if the axis is enabled</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_panner.html#aa44370137295f3e21e4dc55a60c0ca37" title="En/Disable an axis.">setAxisEnabled()</a>, <a class="el" href="class_qwt_plot_panner.html#aab045140de3e38d316593388da9231bd">moveCanvas()</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="qwt__plot__panner_8cpp_source.html#l00168">168</a> of file <a class="el" href="qwt__plot__panner_8cpp_source.html">qwt_plot_panner.cpp</a>.</p>

</div>
</div>
<a id="aab045140de3e38d316593388da9231bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab045140de3e38d316593388da9231bd">&#9670;&nbsp;</a></span>moveCanvas</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotPanner::moveCanvas </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>dx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>dy</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Adjust the enabled axes according to dx/dy</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dx</td><td>Pixel offset in x direction </td></tr>
    <tr><td class="paramname">dy</td><td>Pixel offset in y direction</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_panner.html#ae9ce78e6f9ae73317af29b2dc5df7372">QwtPanner::panned()</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="qwt__plot__panner_8cpp_source.html#l00216">216</a> of file <a class="el" href="qwt__plot__panner_8cpp_source.html">qwt_plot_panner.cpp</a>.</p>

</div>
</div>
<a id="aa44370137295f3e21e4dc55a60c0ca37"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa44370137295f3e21e4dc55a60c0ca37">&#9670;&nbsp;</a></span>setAxisEnabled()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotPanner::setAxisEnabled </td>
          <td>(</td>
          <td class="paramtype">QwtAxisId&#160;</td>
          <td class="paramname"><em>axisId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>on</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>En/Disable an axis. </p>
<p>Axes that are enabled will be synchronized to the result of panning. All other axes will remain unchanged.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">axisId</td><td>Axis id </td></tr>
    <tr><td class="paramname">on</td><td>On/Off</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_panner.html#ab6906099ac3a3053a1af6044ddbf7ba1">isAxisEnabled()</a>, <a class="el" href="class_qwt_plot_panner.html#aab045140de3e38d316593388da9231bd">moveCanvas()</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="qwt__plot__panner_8cpp_source.html#l00154">154</a> of file <a class="el" href="qwt__plot__panner_8cpp_source.html">qwt_plot_panner.cpp</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_qwt_plot_panner.html">QwtPlotPanner</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
